package com.hddx.mapper;

import com.hddx.domain.Employee;
import com.hddx.domain.TCustomer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Objects;

public interface TCustomerMapper {
    List<TCustomer> findCustomerByNameAndPhone (@Param("username") String username,
                                                @Param("phone") String phone);
    List<TCustomer> findCustomerByChoose (@Param("username") String username,
                                                @Param("jobs") String jobs);
    int editCustomer(TCustomer customer);
    List<TCustomer> findCustomerByID(int [] ids);
    List<TCustomer> findCustomerByIdAndJob(Map<String, Object> map);

//    List<Employee> findEmployeeALL();
//    int  addEmployee(Employee employee);
//    int editEmployeeById(Employee employee);
//    int deleteEmployeeById(int uid);
}
